/*
 * @Author: mengqingchen mengqingchen@huaru.cc
 * @Date: 2022-11-07 20:07:51
 * @LastEditors: mengqingchen mengqc1995@163.com
 * @LastEditTime: 2023-03-09 18:42:37
 * @FilePath: \vite-vue3-ts\src\router\routeException.ts
 * @Description:
 */
// 跟鉴权无关的特殊路由

const exceptionRoutes: any = [
  {
    path: '/401',
    name: '401',
    meta: {
      title: '需要登录'
    },
    component: () => import('@/views/exception/401')
  },
  {
    path: '/404',
    name: '404',
    meta: {
      title: '非常抱歉,页面走丢了'
    },
    component: () => import('@/views/exception/404')
  },
  {
    path: '/:pathMatch(.*)',
    meta: {},
    redirect: '/404'
  }
]

export default exceptionRoutes
